package adaptor.power;

/**
 * 将220v接口转为20V接口
 */
public class VoltAdaptor implements Volt20 {

    private Volt220 volt220;

    public VoltAdaptor(Volt220 volt220) {
        this.volt220 = volt220;
    }

    @Override
    public int output() {
        return volt220.output() / 11;
    }
}
